package com.google.code.expr.lang;

public class EXPRSet extends EXPRCommand {
	private EXPRVariableRef mVariable;
	private EXPROperand mOperand;
	
	public EXPRSet() {
	}
	
	public EXPRVariableRef getVariable() {
		return mVariable;
	}

	public void setVariable(EXPRVariableRef pVariable) {
		this.mVariable = pVariable;
	}

	public EXPROperand getOperand() {
		return mOperand;
	}

	public void setOperand(EXPROperand pOperand) {
		this.mOperand = pOperand;
	}

	public String toString() {
		return toString("");
	}
	
	public String toString(String pIndent ) {
		return pIndent + COMMAND_START + SET + " " + mVariable + " " + ASSIGNMENT + " " + mOperand + COMMAND_END;
	}

}
